package cn.psvmc.cxzapi.mapper.goods;

import cn.psvmc.cxzapi.config.mybatisplus.mapper.MyBaseMapper;
import cn.psvmc.cxzapi.model.goods.TGoodsTag;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 商品标签表 Mapper 接口
 * @Author auto
 * @Date 2024-08-17
 */
public interface TGoodsTagMapper extends MyBaseMapper<TGoodsTag> {
    //删除商品标签信息
    void deleteByGoodsId(@Param("goodsId") Integer goodsId);

    //获取所有商品标签
    List<String> listTag();

    //复制商品标签
    void copyGoodsTag(@Param("goodsId") Integer goodsId, @Param("id") Integer id);
}
